package com.moxingzhegroup.base;


/**
 * @author Liaorun
 */

public class BaseSearch {

    private Boolean ifPage;

    private Integer pageNum;

    private Integer pageSize;

    private String orderBy;


    public BaseSearch(Boolean ifPage, Integer pageNum, Integer pageSize, String orderBy) {
        this.ifPage = ifPage;
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.orderBy = orderBy;
    }

    public Boolean getIfPage() {
        return ifPage;
    }

    public void setIfPage(Boolean ifPage) {
        this.ifPage = ifPage;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }
}
